from django.shortcuts import render

# Create your views here.

from rest_framework.viewsets import ModelViewSet
from . import models
from .serializer import BannerSerializer


class TextListView(ModelViewSet):
    queryset = models.Banner.objects.all()
    serializer_class = BannerSerializer
